package com.yra.mapper;

import com.yra.domain.MallUser;
import com.yra.util.PageQueryUtil;
import org.springframework.security.core.userdetails.User;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author: yrq
 * @Date: Create in 11:15 2019/12/12
 */
@Repository
public interface MallUserMapper {
    List<MallUser> queryMallUserList(PageQueryUtil pageQueryUtil);

    int queryTotalMallUsers(PageQueryUtil pageQueryUtil);

    int updateLockStatusByIds(int lockStatus, int[] ids);

    int insertMallUser(Map<String, Object> params);

    MallUser queryUserByuserName(String userName);
}
